#ifndef CWORKTIME_H
#define CWORKTIME_H

#include <QTime>


class CWorkTime
{
public:
    void update(const QTime& rWorkStartTime, const QTime& rWorkEndTime);
    QTime mWorkStartTime;//开始时间
    QTime mWorkEndTime;//结束时间
    int miTimeDiffS;//总时间单位秒 mWorkStartTime.secsTo(mWorkEndTime)
    float mfTimeDiffH;//总时间单位小时 mWorkStartTime.secsTo(mWorkEndTime)/3600
    CWorkTime();
};

#endif // CWORKTIME_H
